home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
util
/
boot
/
BlizKick.lha
/
BlizKick
/
bkapi.lha
/
bkapi
/
Makefile.test
< prev
next >
Wrap
Makefile
|
2000-01-15
|
566b
|
39 lines
#
# bkapi makefile for egcs (GCC)
#
MAKE = make
ADOC = autodoc -a -C -c -I
### c defines ###
CFLAGS = -noixemul -ansi -m68020-60 -Wall -O -msmall-code
CC = gcc $(CFLAGS) -c
LINK = gcc $(CFLAGS) -s
#LINK = gcc $(CFLAGS)
OBJS = bkapi.o
HDRS = myregargs.h bkapi.h
LIBS =
# modify/add stuff here
all: test bkapi.doc
clean:
rm -rf test bkapi.doc *.info *.o *.tmp *.lnk
bkapi.doc: bkapi.c
$(ADOC) bkapi.c >$@
bkapi.o: bkapi.c bkapi.h
$(CC) bkapi.c -o $@
test.o: test.c $(HDRS)
$(CC) test.c -o $@
test: $(OBJS) test.o
$(LINK) $(OBJS) test.o $(LIBS) -o $@